package cetb.domain;

/**
 * @author  alumno
 */
public class Product {
	
	/**
	 * @uml.property  name="productID"
	 */
	private String productID;

	/**
	 * @uml.property  name="description"
	 */
	private String description;
	
	/**
	 * @uml.property  name="price"
	 */
	private float price;
	
	/**
	 * @uml.property  name="category"
	 */
	private String category;
	
	/**
	 * @uml.property  name="stock"
	 */
	private float stock;
	
	/**
	 * @return
	 * @uml.property  name="productID"
	 */
	public String getProductID() {
		return productID;
	}

	/**
	 * @param productID
	 * @uml.property  name="productID"
	 */
	public void setProductID(String productID) {
		this.productID = productID;
	}

	/**
	 * @return
	 * @uml.property  name="description"
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 * @uml.property  name="description"
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return
	 * @uml.property  name="price"
	 */
	public float getPrice() {
		return price;
	}

	/**
	 * @param price
	 * @uml.property  name="price"
	 */
	public void setPrice(float price) {
		this.price = price;
	}

	/**
	 * @return
	 * @uml.property  name="category"
	 */
	public String getCategory() {
		return category;
	}

	/**
	 * @param category
	 * @uml.property  name="category"
	 */
	public void setCategory(String category) {
		this.category = category;
	}	
	
	/**
	 * @return
	 * @uml.property  name="stock"
	 */
	public float getStock(){
		return stock;
	}
	
	/**
	 * @param stock
	 * @uml.property  name="stock"
	 */
	public void setStock(float stock){
		this.stock=stock;
	}

	@Override
	public String toString() {
		return "Product [productID="+productID+", description="+description+ ", price=" + price +", stock="
		+ stock + ", category=" + category+"]";
	}
	
}
